﻿using System.ComponentModel;

namespace SxPackages.STC32G.Models
{
	/// <summary>
	/// SPI引脚定义
	/// </summary>
	enum SPIPins
	{
		/// <summary>
		/// P5.4,P1.3,P1.4,P1.5
		/// </summary>
		[Description("P5.4,P1.3,P1.4,P1.5")]
		SS_P54_MOSI_P13_MISO_P14_SCLK_P15,
		/// <summary>
		/// P2.2,P2.3,P2.4,P2.5
		/// </summary>
		[Description("P2.2,P2.3,P2.4,P2.5")]
		SS_P22_MOSI_P23_MISO_P24_SCLK_P25,
		/// <summary>
		/// P5.4,P4.0,P4.1,P4.3
		/// </summary>
		[Description("P5.4,P4.0,P4.1,P4.3")]
		SS_P54_MOSI_P40_MISO_P41_SCLK_P43,
		/// <summary>
		/// P3.5,P3.4,P3.3,P3.2 普通SPI 串口SPI不包含此项
		/// </summary>
		[Description("P3.5,P3.4,P3.3,P3.2")]
		SS_P35_MOSI_P34_MISO_P33_SCLK_P32,
		/// <summary>
		/// P6.4,P6.5,P6.6,P6.7 仅针对串口1SPI
		/// </summary>
		[Description("P6.4,P6.5,P6.6,P6.7")]
		SS_P64_MOSI_P65_MISO_P66_SCLK_P67,
		/// <summary>
		/// P7.4,P7.5,P7.6,P7.7 仅针对串口2SPI
		/// </summary>
		[Description("P7.4,P7.5,P7.6,P7.7")]
		SS_P74_MOSI_P75_MISO_P76_SCLK_P77,
	}
}
